package com.wan.usercenter.mapper;

import com.wan.usercenter.pojo.BasicRoleResource;
import com.wan.usercenter.pojo.BasicRoleResourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BasicRoleResourceMapper {
    long countByExample(BasicRoleResourceExample example);

    int deleteByExample(BasicRoleResourceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BasicRoleResource record);

    int insertSelective(BasicRoleResource record);

    List<BasicRoleResource> selectByExample(BasicRoleResourceExample example);

    BasicRoleResource selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BasicRoleResource record, @Param("example") BasicRoleResourceExample example);

    int updateByExample(@Param("record") BasicRoleResource record, @Param("example") BasicRoleResourceExample example);

    int updateByPrimaryKeySelective(BasicRoleResource record);

    int updateByPrimaryKey(BasicRoleResource record);
}